﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Diary.aspx.cs" Inherits="Diary" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .auto-style1 {
            width: 44%;
        }
        .auto-style2 {
            width: 299px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <table class="auto-style1">
        <tr>
            <td class="auto-style2">Страна</td>
            <td>
                <asp:TextBox ID="CountryTextBox" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="auto-style2">Город</td>
            <td>
                <asp:TextBox ID="CityTextBox" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="auto-style2">Адрес</td>
            <td>
                <asp:TextBox ID="AddressTextBox" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="auto-style2">Тип школы</td>
            <td>
                <asp:TextBox ID="SchoolTypeTextBox" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="auto-style2">Имя</td>
            <td>
                <asp:TextBox ID="SchoolNameTextBox" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="auto-style2">&nbsp;</td>
            <td>
                <asp:Button ID="NextButton" runat="server" Text="Далее" />
            </td>
        </tr>
        <tr>
            <td class="auto-style2">&nbsp;</td>
            <td>
                <asp:DropDownList ID="DropDownList1" runat="server" AppendDataBoundItems="True" DataTextField="Country" DataValueField="Country" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
                    <asp:ListItem>Украина</asp:ListItem>
                    <asp:ListItem>Россия</asp:ListItem>
                    <asp:ListItem>Белоруссия</asp:ListItem>
                    <asp:ListItem>Молдова</asp:ListItem>
                    <asp:ListItem>Грузия</asp:ListItem>
                    <asp:ListItem>Казахстан</asp:ListItem>
                    <asp:ListItem Value="" Text="Выберите страну" />
                </asp:DropDownList>
                <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:aspnetdbConnectionString1 %>" SelectCommand="SELECT [Country] FROM [Schools]"></asp:SqlDataSource>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
